![]() |
PBSetCatInfoAsync |
||||
Header: | Files.h | Carbon status: | Supported | |
Modifies information about files and directories.
OSErr PBSetCatInfoAsync ( CInfoPBPtr paramBlock );
A pointer to a catalog information parameter block.
A result code.
The fields used by both files and directories are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a pointer to a pathname.
On input, a volume specification.
For files, these fields of the parameter block are also used:
On input, information used by the Finder.
On input, the directory ID.
On input, the date and time of creation.
On input, the date and time of the last modification.
On input, the date and time of the last backup.
On input, additional information used by the Finder.
For directories, these fields of the parameter block are also used:
On input, information used by the Finder.
On input, the directory ID.
On input, the date and time of creation.
On input, the date and time of the last modification.
On input, the date and time of the last backup.
On input, additional information used by the Finder.
The PBSetCatInfoAsync function sets information about a file or directory. When used to set information about a file, it works much as PBHSetFInfoAsync does, but lets you set some additional information.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)